/**
 * ToolManager
 */


function ToolManager(opts) {
    var freedoocx = opts && opts.freedoocx;

    this._toolManager = freedoocx && freedoocx.getToolsManger();
};

/**
 * 获取当前工具
 */
ToolManager.prototype.getCurrentTool = function () {
    return this._toolManager.GetCurrentTool();
};

/**
 * 设置当前工具
 */
ToolManager.prototype.setCurrentTool = function (tool) {
    return this._toolManager.setCurrentTool(tool);
};

/**
 * 模型选择
 */
ToolManager.prototype.CreateSelectionTool = function () {
    return this._toolManager.CreateSelectionTooll();
};

/**
 * 部件选择
 */
ToolManager.prototype.CreateSelectionSectionTool = function () {
    return this._toolManager.CreateSelectionSectionTool();
};
/**
 * 点测量
 */
ToolManager.prototype.CreateMeasurePointTool = function () {
    return this._toolManager.CreateMeasurePointTool();
};
/**
 * 线测量
 */
ToolManager.prototype.CreateMeasureLengthTool = function () {
    return this._toolManager.CreateMeasureLengthTool();
};
/**
 * 贴地线测量
 */
ToolManager.prototype.CreateMeasureLengthTool = function () {
    return this._toolManager.CreateMeasureLengthTool();

};
/**
 * 直角测量
 */
ToolManager.prototype.CreateMeasureRightAngleTool = function () {
    return this._toolManager.CreateMeasureRightAngleTool();

};
/**
 * 圆面积测量
 */
ToolManager.prototype.CreateMeasureAreaTool = function () {
    return this._toolManager.CreateMeasureAreaTool();

};
/**
 * 多边形面积测量
 */
ToolManager.prototype.CreateMeasureAreaTool = function () {
    return this._toolManager.CreateMeasureAreaTool();

};
/**
 * 淹没分析
 */
ToolManager.prototype.CCreateRegionFloodTool = function () {
    return this._toolManager.CreateRegionFloodTool();

};

/**
 * 断面分析
 */
ToolManager.prototype.CreateAnalysisSectionTool = function () {
    return this._toolManager.CreateAnalysisSectionTool();

};
/**
 * 挖坑
 */
ToolManager.prototype.CreateGeologyAnalysisAreaTool = function () {

    return this._toolManager.CreateGeologyAnalysisAreaTool();

};

/**
 * 面剖切
 */
ToolManager.prototype.CreateGeologyAnalysisAreaTool = function () {

    return this._toolManager.CreateGeologyAnalysisAreaTool();

};
/**
 * 线剖切
 */
ToolManager.prototype.CreateGeologyAnalysisLineTool = function () {

    return this._toolManager.CreateGeologyAnalysisLineTool();

};
/**
 * 点对点
 */
ToolManager.prototype.CreateAnalysis3DVisibilityTool = function () {

    return this._toolManager.CreateAnalysis3DVisibilityTool();

};
/**
 * 点对线
 */
ToolManager.prototype.CreateAnalysis3DVisibilityTool = function () {

    return this._toolManager.CreateAnalysis3DVisibilityTool();

};
/**
 * 点对面
 */
ToolManager.prototype.CreateAnalysis3DVisibilityTool = function () {

    return this._toolManager.CreateAnalysis3DVisibilityTool();

};
/**
 * 清除剖切
 */
ToolManager.prototype.ClearTool = function () {

    return this._toolManager.ClearTool();

};

module.exports = ToolManager;